{
  "properties" : { },
  "id" : "ce529f4dbd5a428ca4cd6a60434e1ece",
  "script" : null,
  "groupId" : "5affd458495e4bf8a43e1f578f0ce3a9",
  "name" : "批量恢复告警",
  "createTime" : 1727070950781,
  "updateTime" : 1726222510555,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "isSolved",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n    \"id\":\"1811504164782348089\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": true\n}",
  "description" : "",
  "requestBodyDefinition" : {
    "name" : "",
    "value" : { },
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  },
  "responseBodyDefinition" : {
    "name" : "",
    "value" : { },
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  }
}
================================
import java.time.LocalDateTime;
import org.springblade.core.tool.api.R;

    split = body.id.split(",");
    for (item in split) {
        LocalDateTime recoveryTime = LocalDateTime.now();
        db.table("alarm_info").primary("id").update({
            id:item,
            is_recovery:1,
            recovery_time:recoveryTime
        })
    }
    return true;